package com.c.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.c.entity.Order;
import com.c.entity.User;
import com.c.utils.PageResult;
import com.c.utils.QueryPageBean;
import com.c.utils.Result;

import java.util.Map;

/**
 * @author wangxiangli
 * @create 2022-12-25-12:28
 */
public interface OrderService extends IService<Order> {
    //分页查询订单
    PageResult findByPage(QueryPageBean queryPageBean);
    //添加预约订单
    Result order(Map map) throws Exception;
    //通过id查找订单
    Map findById(Integer id) throws Exception;
    //编辑预约订单
    Result edit(Order order);
    //删除预约订单
    void deleteById(Integer id);
}
